package me.caofeng.util;

import com.mysql.jdbc.StringUtils;
import com.sun.jndi.cosnaming.CNCtx;
import org.springframework.stereotype.Controller;

import javax.print.DocFlavor;

/**
 * Copyright © 2017曹峰. All rights reserved.
 *
 * @Prject: mall
 * @Package: me.caofeng.util
 * @Description:
 * @Author: 曹峰 blog.caofeng.me
 * @Date: 2017-06-18 23:37
 * @Version: V1.0
 */
public class Constant {
    private Constant(){
        throw new IllegalArgumentException("工具类不能实例化");
    }

    public static final String COUNT = "_count";
    public static final String USER = "user";
    public static final String CATEGORY = "category";
    public static final long SMS_CODE_EXPIRE = 600000l;
    public static final String IMAGE_PRODUCT = "image.product";
    public static final String IMAGE_PRODUCT_PATH = "D:\\image\\product";
    public static final String PRODUCT_PATH = "product/";
    public static final String IMAGE_HOST = "image.host";
    public static final String IMAGE_HOST_PATH = "image.localhost/";
    public static final String IMAGE_QRCODE = "image.qrcode";

    public static final int ALIPAY = 1;
}
